package com.wzx.ptplatform.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author 紫煦桉
 */
@Api(tags = "错误页面模块")
@RestController
public class ErrorController {

    @GetMapping("404")
    public ModelAndView error404() {
        return new ModelAndView("error/404");
    }
}
